package com.sxt.service.impl;

import com.sxt.domain.MyResult;
import com.sxt.mapper.SchoolsMapper;
import com.sxt.service.SchoolsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SchoolsServiceImpl implements SchoolsService {
    @Autowired
    private SchoolsMapper schoolsMapper;
    @Override
    public MyResult selectMenusByPid(int pid) {
        return MyResult.ok(schoolsMapper.selectMenusByPid(pid));
    }
}
